package pers.lmd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Select;
import pers.lmd.domain.entity.Note;
import pers.lmd.domain.vo.NoteTeacherVO;

import java.util.List;

/**
 * @author 10149
 * @description 针对表【note】的数据库操作Mapper
 * @createDate 2023-04-24 20:35:51
 * @Entity pers.lmd.domain.entity.Note
 */
public interface NoteMapper extends BaseMapper<Note> {
    // @Select("select note.id,name,leave_time,back_time,travel,reason from note,student where sid = student.id and apply_status = 1 and student.tid = #{tid} order by name")
    Page<NoteTeacherVO> getNoteByTid(Page<NoteTeacherVO> page, Long tid);
}




